import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 查询涉案人列表
export function getByinquestList(data,query) {
  return request({
    url: '/bussiness/byinquest/list',
    method: 'post',
    params: query,
    data: data,
    isEncrypt: false
  })
}
// 查询涉案人详情
export function getByinquestInfo(query) {
  return request({
    url: '/bussiness/byinquest/info',
    method: 'get',
    params: query
  })
}

// 新增涉案人
export function createByinquest(data) {
  return request({
    url: '/bussiness/byinquest/add',
    method: 'post',
    data: data,
    isEncrypt: false
  })
}

// 修改涉案人
export function editByinquest(data) {
  return request({
    url: '/bussiness/byinquest/edit',
    method: 'post',
    data: data,
    isEncrypt: false
  })
}

// 删除用户
export function deleteByinquest(byinquestId) {
  return request({
    url: '/bussiness/byinquest/remove?ids=' + byinquestId,
    method: 'post',
    isEncrypt: false
  })
}



